export const MQ = window.MathQuill.getInterface(2);
export const getMathField = (node, handlers) => {
  return MQ.MathField(node, {
    //该属性设为false，可以键入空格
    leftRightIntoCmdGoes: "up",
    restrictMismatchedBrackets: true,
    sumStartsWithNEquals: true,
    supSubsRequireOperand: true,
    handlers
  });
};


 